<?php $this->headLink()->appendStylesheet($this->baseUrl() . '/css/category.css') ?>
<div class="category_new_action">
    <span class="subtext">Dodawanie ogłoszeń nigdy nie było tak łatwe!</span>
    <a class="btn btn-large btn-success" href="<?= $this->url(array('controller' => 'offer', 'action' => 'add'), 'default', true) ?>">Dodaj swoje ogłoszenie</a>
</div>
<?php
    if(!isset ($this->searchMode)){
        $this->actionName = 'offer';
        $this->placeholder = 'Szukaj w ofertach';
        echo $this->render('search/search-partial.phtml');
    }
?>
<div class="categories">
    <?= $this->render('category/list-categories.phtml') ?>

</div>

